package cn.krui.project.bean.article;

import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * @author: zc
 * email: zc8023zs@163.com
 * create_time: 2020/6/11 16:42:05
 * 分离出查询实体
 */
@ApiModel(value = "qr_article_model_2", description = "内容_模型_视频")
@TableName(value = "qr_article_model_2")
public class ArticleModel2View {
	@ApiModelProperty(value = "内容id")
	@TableId(type = IdType.INPUT,value = "article_id")
	@NotNull(message = "内容id不能为空")
	private Integer article_id;
	@ApiModelProperty(value = "来源")
	@TableField(value="resource")
	private String resource;
	@ApiModelProperty(value = "来源地址")
	@TableField(value="resource_link")
	private String resource_link;
	@ApiModelProperty(value = "摘要")
	@TableField(value="summary")
	private String summary;
	@ApiModelProperty(value = "视频上传")
	@TableField(value="video")
	private String video;
	@ApiModelProperty(value = "banner上传")
	@TableField(value="icon")
	private String icon;
	@ApiModelProperty(value = "视频列表图")
	@TableField(value="icon1")
	private String icon1;
	@ApiModelProperty(value = "视频分享图")
	@TableField(value="icon2")
	private String icon2;
	@ApiModelProperty(value = "手机大图")
	@TableField(value="icon3")
	private String icon3;
	@ApiModelProperty(value = "数据版本字段")
	@TableField(value="version_id")
	@Version
	private Integer version_id;

 
	public Integer getArticle_id() {
		return article_id;
	}
	public void setArticle_id(Integer article_id) {
		this.article_id = article_id;
	}
 
	public String getResource() {
		return resource;
	}
	public void setResource(String resource) {
		this.resource = resource;
	}
 
	public String getResource_link() {
		return resource_link;
	}
	public void setResource_link(String resource_link) {
		this.resource_link = resource_link;
	}
 
	public String getSummary() {
		return summary;
	}
	public void setSummary(String summary) {
		this.summary = summary;
	}
 
	public String getVideo() {
		return video;
	}
	public void setVideo(String video) {
		this.video = video;
	}
 
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
 
	public String getIcon1() {
		return icon1;
	}
	public void setIcon1(String icon1) {
		this.icon1 = icon1;
	}
 
	public String getIcon2() {
		return icon2;
	}
	public void setIcon2(String icon2) {
		this.icon2 = icon2;
	}
 
	public String getIcon3() {
		return icon3;
	}
	public void setIcon3(String icon3) {
		this.icon3 = icon3;
	}
 
	public Integer getVersion_id() {
		return version_id;
	}
	public void setVersion_id(Integer version_id) {
		this.version_id = version_id;
	}

}